<!-- Modified by Vu on 16/05/2013 -->

<div class="actions">
	<h3><?php echo __(''); ?></h3>
	<ul>

                        		<li><?php echo $this->Html->link(__('Staff Users'), array('controller' => 'Users','action' => 'index')); ?></li>
                        		<li><?php echo $this->Html->link(__('Departments'), array('controller' => 'departments', 'action' => 'index')); ?> </li>
                        		<li><?php echo $this->Html->link(__('Contacts'), array('controller' => 'contacts', 'action' => 'index')); ?> </li>
                        		<li><?php echo $this->Html->link(__('Lists'), array('controller' => 'mail_lists', 'action' => 'index')); ?> </li>
                        		<li><?php echo $this->Html->link(__('Timesheets'), array('controller' => 'timesheets', 'action' => 'index')); ?> </li>
                        		<li><?php echo $this->Html->link(__('Notes'), array('controller' => 'notes', 'action' => 'index')); ?> </li>
                        	</ul>
</div>

<div class="timesheets form">
<?php echo $this->Form->create('Timesheet'); ?>
	<fieldset>
		<legend><?php echo __('Edit Timesheet'); ?></legend>
	<?php

		echo $this->Form->input('id');
		echo $this->Form->input('User.user_id',array('type' => 'text','label' => 'User ID'));
		echo $this->Form->input('name');
		echo $this->Form->input('date');
		echo $this->Form->input('Timesheet.start_time',array('type' => 'time' ,'interval' => 15));
		echo $this->Form->input('Timesheet.end_time',array('type' => 'time' ,'interval' => 15));
		echo $this->Form->input('total_no_hrs',array('values' => '$timesheet[Timesheet][end_time]-$timesheet[Timesheet][start_time]'));

	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit')); ?>
</div>

